package com.dingwen.treasure.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 　TestEntity </br>
 *  <p>注解：</p>
 *  <ul>
 *      <li>@ExcelProperty: value:名称 index:下标，从零开始</li>
 *      <li>@DateTimeFormat("yyyy-MM-dd"):时间格式化</li>
 *      <li>@ColumnWidth(value = 40):列宽</li>
 *      <li>@ExcelIgnore:忽略导出</li>
 *  </ul>
 * 　@author dingwen
 * 　@date 2022/8/2
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class ExcelEntity {
    @ExcelProperty(value = "file_id")
    private String fileId;
    private List<ExcelEntity> excelEntities;

    private ExcelEntity entity;
}
